package com.zbkj.common.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 短信发送记录表
 * </p>
 *
 * @author Your Name
 * @since 2024-12-02
 */
@Data
  @EqualsAndHashCode(callSuper = false)
  @Accessors(chain = true)
@TableName("eb_sms_record")
@ApiModel(value="SmsRecord对象", description="短信发送记录表")
public class SmsRecord implements Serializable {

    private static final long serialVersionUID=1L;

      @ApiModelProperty(value = "短信发送记录编号")
        @TableId(value = "id", type = IdType.AUTO)
      private Integer id;

      @ApiModelProperty(value = "短信平台账号")
      private String uid;

      @ApiModelProperty(value = "接受短信的手机号")
      private String phone;

      @ApiModelProperty(value = "短信内容")
      private String content;

      @ApiModelProperty(value = "添加记录ip")
      private String addIp;

      @ApiModelProperty(value = "创建时间")
      private LocalDateTime createTime;

      @ApiModelProperty(value = "短信模板ID")
      private String template;

      @ApiModelProperty(value = "状态码 100=成功,130=失败,131=空号,132=停机,133=关机,134=无状态")
      private Integer resultcode;

      @ApiModelProperty(value = "发送记录id")
      private Integer recordId;

      @ApiModelProperty(value = "短信平台返回信息")
      private String memo;


}
